/**
	License:		GNU General Public License version 3 (see license.txt, also available online at http://www.gnu.org/licenses/gpl-3.0.html)
	Authors:		OrbitalLab (http://www.orbitallab.ru/dee0xd/), 2008-2009

	File:			icompiler.d
	Description:	some compiler interface stuff
	Date:			09.12.2008 by Digited
**/
module dee0xd.compilers.ICompiler;

public import tango.io.FilePath;

const char[] dxd_internal_rename = "?r";

//---------------------------------------------------------------------------------------------------
/// interface for compilers
//---------------------------------------------------------------------------------------------------
abstract class ICompiler
{
	public:
		char[][] cmdCompiler, cmdLinkExe, cmdLinkLib, cmdRename;
		char[] cmdExe, cmdObj, cmdLib;

		char[][][] GenCommands( char[][char[]] params, FilePath[] modules );

		char[] ExeExt() { return cmdExe; }
		char[] ObjExt() { return cmdObj; }
		char[] LibExt() { return cmdLib; }
}